package rmaqlc31.basic;

import java.io.IOException;
import java.io.PrintWriter;

import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;

public class _06NewServlet extends _05MyBaseServlet{
	@Override
	public void service(ServletRequest req, ServletResponse res)
			throws ServletException, IOException {
		System.out.println("베이스 클래스를 이용한 서블릿 생성");
		
		res.setContentType("text/html; charset=UTF-8");
		PrintWriter out = res.getWriter();
		
		out.print("<html><head></head>");
		out.print("<body><h1>NewServlet</h1>");
		out.print("</body></html>");
	}
}
